<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2017 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Author: Dean <zxxjjforever@163.com>
// +----------------------------------------------------------------------
// API 模板文件，可以复制
namespace api\resource\controller;

use think\Db;
use think\Request;
use think\Validate;
use cmf\controller\RestBaseController;

class Biao12Controller extends RestBaseController
{


    public function one($data)
    {

        //查 这个表的数据
        @$new_data = $data[0]['content'];
        if (empty($new_data)) {
            return '';
        }

       $html = '
       <div style="width: 650px;margin: 0 auto;">
        <div style="font-size: 16px;font-weight: 600;margin-bottom: 15px;">二、项目内容（八）项目计划进度</div>
        <table border="1" cellspacing="0px" cellpadding="5px" width="650" style="text-align: center">
            <tbody>
                <tr>
                    <td style="font-weight: 600">*起止时间</td>
                    <td style="font-weight: 600">*主要工作内容</td>
                </tr>
                <tr>
                    <td>'.@$new_data->text1.'</td>
                    <td>'.@$new_data->text2.'</td>
                </tr>
                <tr>
                    <td>'.@$new_data->text3.'</td>
                    <td>'.@$new_data->text4.'</td>
                </tr>
                <tr>
                    <td>'.@$new_data->text5.'</td>
                    <td>'.@$new_data->text6.'</td>
                </tr>
                <tr>
                    <td>'.@$new_data->text7.'</td>
                    <td>'.@$new_data->text8.'</td>
                </tr>
                <tr>
                    <td>'.@$new_data->text9.'</td>
                    <td>'.@$new_data->text10.'</td>
                </tr>
                <tr>
                    <td>'.@$new_data->text11.'</td>
                    <td>'.@$new_data->text12.'</td>
                </tr>
                <tr>
                    <td>'.@$new_data->text13.'</td>
                    <td>'.@$new_data->text14.'</td>
                </tr>
                <tr>
                    <td>'.@$new_data->text15.'</td>
                    <td>'.@$new_data->text16.'</td>
                </tr>
            </tbody>
        </table>
    </div>
        ';

            return $html;

    }



}
